package im.engure.common.protocol;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Invocation implements Serializable {   //注意：IO流读写该类实例，所以要实现Serializable接口
    private String interfaceName;
    private String methodName;
    private Class<?>[] paramTypes;
    private Object[] params;
}
